import { GithubOutlined } from '@ant-design/icons';
import { DefaultFooter } from '@ant-design/pro-layout';

export default () => {
  const defaultMessage = '郝斯文集团技术部出品';
  const currentYear = new Date().getFullYear();
  return (
    <DefaultFooter
      copyright={`${currentYear} ${defaultMessage}`}
      links={[
        {
          key: 'hswyxj',
          title: '郝斯文',
          href: '/',
          blankTarget: false,
        },
        {
          key: 'gitee',
          title: <GithubOutlined />,
          href: 'https://gitee.com/hao-siwen/ant-design-hsw',
          blankTarget: true,
        },
        {
          key: 'hswyxj2',
          title: '郝斯文',
          href: '/',
          blankTarget: false,
        },
      ]}
    />
  );
};
